html,
body {
  width: 100%;
  height: 100%;
}


:root {
  --bgImg: url(../images/normal-bg.png);
}

#app {
  position: relative;
  width: 100%;
  height: 100%;
  background: url(../images/normal-bg.png);
  background: var(--bgImg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  .login-box {
    position: relative;
    width: 1010px;
    height: 662px;
    position: fixed;
    top: 52%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: url(../images/login_bg.png) no-repeat center center;
    background-size: 100%;

    // test
    // height: 562px;

    // 标题
    .title {
      // width: 366px;
      // height: 40px;
      position: absolute;
      bottom: 570px;
      left: 0;
      width: 100%;
      line-height: 40px;
      font-size: 36px;
      font-family: SourceHanSansCN;
      font-weight: 500;
      color: #169AFF;
      margin: 0 auto;
      margin-top: 20px;
      text-align: center;
      overflow: hidden;
      text-overflow: -o-ellipsis-lastline;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;

      // test
      bottom: 530px;
      bottom: 580px;

      .img {
        max-width: 100%;
        max-height: 100%;
      }
    }

    // 发光物
    .light-b {
      position: absolute;
      top: -60px;
      left: 0;
      width: 102%;
      height: 296px;
      background: url(../images/Light.png) no-repeat center center;
      background-size: 100%;
      background-color: transparent;
      // test
      top: -110px;
      top: -60px;
    }

  }

  .login-wrap {
    position: absolute;
    // position: fixed;
    // top: 50%;
    // left: 50%;
    // transform: translateX(-50%) translateY(-50%);
    width: 480px;
    // height: 588px;
    background: transparent;
    // box-shadow: 0px 3px 7px 0px rgba(0, 87, 136, 0.35);
    // border-radius: 4px;
    // margin: 0 auto;
    // margin-top: 50px;
    // padding-bottom: 70px;
    top: 130px;
    // test
    top: 80px;
    left: 50%;
    transform: translateX(-50%);

    // 

    &.has-code {
      top: 98px;
      top: 50px;
    }

    .tip {
      width: 142px;
      height: 34px;
      font-size: 28px;
      font-family: SourceHanSansCN;
      font-weight: 400;
      color: #909399;
      margin: 0 auto;
      margin-top: 48px;
      text-align: center;
      letter-spacing: 4px;
    }



    .content {
      width: 366px;
      margin: 0 auto;
      margin-top: 80px;
      margin-top: 90px;
      position: relative;

      .msg-b{
        position: relative;
        left: 0;
        top: -2px; 
        // bottom: 285px;
        width: 100%;
        /* height: 30px; */
        /* line-height: 30px; */
        padding: 0 8px;
        /* background-color: #fdf6ec; */
        /* border-color: #faecd8; */
        color: #e6a23c;
        font-size: 14px;
        .el-icon-warning{
          margin-right: 5px;
          vertical-align: middle
        }
      }

      .el-form {
        margin-bottom: 36px;
        .el-form-item {
          margin-bottom: 28px;
        }

        .el-form-item:last-of-type {
          margin-bottom: 10px;
        }

        .el-input .el-input__inner {
          height: 50px;
          line-height: 50px;
          color: #575962;
          font-size: 18px;
          padding-left: 50px !important;
          background-color: transparent;
          color: #fff;
          border-color: #00A4FF !important;
          caret-color: #00A4FF;

          &::-webkit-input-placeholder {
            color: #00A4FF;
          }

          &::-moz-input-placeholder {
            color: #00A4FF;
          }

          &::-ms-input-placeholder {
            color: #00A4FF;
          }
          &:-webkit-autofill {
            -webkit-text-fill-color: #fff !important;
            -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
            background-color: transparent;
            color: #fff!important;
            background-image: none;
            transition: background-color 50000s ease-in-out 0s;
            /*背景色透明  生效时长  过渡效果  启用时延迟的时间*/
          }
        }

        .el-input .el-input__prefix {
          line-height: 50px;
          left: 15px;
        }

        .el-input .el-input-group__append {
          width: 128px;
          height: 50px;
          cursor: pointer;
          padding: 0 !important;

        }

        .el-input {
          // margin-bottom: 15px;

          .inp-icon {
            display: inline-block;
            vertical-align: middle;
            height: 24px;
            width: 24px;
            background: url('../images/icon_user.png') no-repeat center;
            background-size: 100% 100%;
          }

          .icon-pwd {
            height: 21px;
            background: url('../images/icon_pwd.png') no-repeat center;
            background-size: 100% 100%;
          }

          .icon-code {
            background: url('../images/icon_code.png') no-repeat center;
            background-size: 100% 100%;
          }

          .code-image {
            width: 100%;
            height: 100%;
          }
        }

        // 忘记密码
        .forget-pwd{
          display: block;
          text-align: right;
          color: #00A4FF;
          font-size: 14px;
          margin-bottom: 36px;
          width: 60px;
          margin-left: calc(100% - 60px);
          &:hover{
            color: #e5e5e5;
          }
        }
      }

      // 登录按钮
      .lg-btn {
        width: 366px;
        height: 50px;
        background: #169AFF;
        border-radius: 2px;
        // margin-top: 36px;
        font-weight: 400;
        color: #FFFFFF;
        font-size: 18px;
        border: none;

        .el-loading-mask {
          background-color: rgba(11, 63, 149, .8);
        }
      }
    }
  }

  // 页脚
  .page-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    font-size: 14px;
    color: #575962;
    text-align: center;
  }
}

/* 新密码等级 */
.pwd-strength-box .level-box {
  display: inline-block;
  vertical-align: middle;
  width: 44px;
  height: 20px;
  line-height: 20px;
  font-size: 12px;
  text-align: center;
  background: #eeeeee;
}

.el-dialog__headerbtn {
  top: 12px;
}